ZRDN\Recipe D

Total Complexity 216
Dependencies 4
Dependents 17
Total lines 1,660
Lines of code 899
Logical lines of code 540
Comment lines 446
Methods 30
Properties 79

Methods 30

Method Rating Maintainability Complexity Lines of code
load()
D
25
49 135
jsonld()
C
30 24 118
generate_recipe_image_json()
B
48 19 33
validate()
A
42 15 51
load_placeholders()
A
45 12 39
save()
A
37 6 73
zrdn_format_image()
A
51 9 25
format_duration()
A
46 8 38
__construct()
A
54 9 21
get_nested_items()
A
50 8 29
load_default_data()
S
37 3 80
calculate_daily_value()
S
51 6 23
calculate_total_time_raw()
S
56 5 16
clean_jsonld()
S
55 4 21
richify_item()
S
61 4 12
delete()
S
61 4 11
zrdn_get_responsive_image_attributes()
S
53 3 22
zrdn_format_item()
S
57 3 17
get_image_url_by_size()
S
63 4 10
nutrition_data()
S
49 1 30
maybe_delete_old_nutrition_label()
S
63 3 9
db_update()
S
66 3 8
sanitize_zip_sharing_status()
S
61 2 14
track_hit()
S
61 2 13
sanitize_edamam_sharing_status()
S
63 2 12
get_subtitle()
S
67 2 8
insert_breaks()
S
66 2 8
db_insert()
S
65 2 9
db_select()
S
67 1 7
db_select_by_post_id()
S
67 1 7